<template>
  <div id="app">
    <!-- 全局的头部、侧边栏等，视项目需求添加 -->
    <router-view></router-view>  <!-- 路由视图，动态渲染页面 -->
  </div>
</template>

<script>
export default {
  name: 'App'
};
</script>

<style>
/* 全局样式 */
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

h1 {
  color: #42b983;
}
</style>
